//
//  ZDBRechargeCell.m
//  ZDB
//
//  Created by Kk on 2020/4/1.
//  Copyright © 2020 ZDB. All rights reserved.
//

#import "ZDBRechargeCell.h"

@implementation ZDBRechargeCell

- (void)awakeFromNib {
    [super awakeFromNib];
     self.backgroundColor = WHITECOLOR;
     self.selectionStyle = UITableViewCellAccessoryNone;
}
- (void)setModel:(ZDBRechageModel *)model
{
    _phone.text = model.userCode;
    NSString * money = kFormat(@"佣金%@元",  model.money);
    _money.attributedText = [ZBDUnit finderattributedString:money attributedString:model.money color:MAINCOLOR font:AutoFont(12)];
    _time.text = [ZBDUnit getOtherTimeStrWithString:model.createTime];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
